package com.shangguan.mapper;

import com.shangguan.beans.TPermissions;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TPermissionsMapper {
    int deleteByPrimaryKey(Integer permissionsId);

    int insert(TPermissions record);

    int insertSelective(TPermissions record);

    TPermissions selectByPrimaryKey(Integer permissionsId);

    int updateByPrimaryKeySelective(TPermissions record);

    int updateByPrimaryKey(TPermissions record);

    List<TPermissions> selectPermissionsByRoleName(String roleName);
}